<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>SYS_USER</title>
  
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
 	
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="sysUserController.do?doAdd" tiptype="6">
	  <input id="id" name="id" type="hidden" value="${sysUserPage.id }"/>
		<table style="width: 99%;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							登录名:
						</label>
					</td>
					<td class="value">
					     	 <input id="loginname" name="loginname" type="text" maxlength="50" style="width: 150px"  datatype="*"  ignore="checked" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">登录名</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							用户姓名:
						</label>
					</td>
					<td class="value">
					     	 <input id="username" name="username" type="text" maxlength="50" style="width: 150px" datatype="*"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">用户姓名</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							角色名称:
						</label>
					</td>
					<td class="value">
							<input id="roleid" name="roleid" type="hidden" datatype="*" value=''/>
							<input id="rolename" name="rolename" type="text" style="width: 150px" class="searchbox-inputtext" ignore="checked" datatype="*" readonly="readonly" onclick="popupClick(this,'rolename,roleid','rolename,roleid','sys_role_select')"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">角色名称</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							性别:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="sex" type="list"  typeGroupCode="SEX"  defaultVal="${sysUserPage.sex}" hasLabel="false"  title="性别" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">性别</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							所属交易商:
						</label>
					</td>
					<td class="value">
							<input id="orgid" name="orgid" type="hidden" datatype="*" value=""  />
							<input id="orgname" name="orgname" type="text" style="width: 150px" class="searchbox-inputtext" ignore="checked" datatype="*" readonly="readonly"  onclick="popupClick(this,'fullname,traderid','orgname,orgid','trader_select')"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">所属交易商</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							身份证号:
						</label>
					</td>
					<td class="value">
					     	 <input id="certno" name="certno" type="text" maxlength="30" style="width: 150px" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">身份证号</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							移动电话:
						</label>
					</td>
					<td class="value">
					     	 <input id="mobile" name="mobile" type="text" maxlength="50" style="width: 150px" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">移动电话</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							电子邮件:
						</label>
					</td>
					<td class="value">
					     	 <input id="email" name="email" type="text" maxlength="250" style="width: 150px"  ignore="ignore"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">电子邮件</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							用户类型:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="usertype" type="list"  datatype="*"  typeGroupCode="YONGHLX"  defaultVal="${sysUserPage.usertype}" hasLabel="false"  title="用户类型" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">用户类型</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							是否有效:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="isvalid" type="list"  datatype="*"  typeGroupCode="ISN"  defaultVal="${sysUserPage.isvalid}" hasLabel="false"  title="是否有效" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">是否有效</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							录入时间:
						</label>
					</td>
					<td class="value">
							<input id="operationtime" name="operationtime" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"  datatype="*"  ignore="checked" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">录入时间</label>
						</td>
					<td align="right">
						<label class="Validform_label">
							用户状态:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="userverifystatus" type="list"  datatype="*"  typeGroupCode="USERVERIFYSTATUS"  defaultVal="${sysUserPage.userverifystatus}" hasLabel="false"  title="用户状态" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">用户状态</label>
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>